package com.bdzl.admin.service.data.impl;

import com.bdzl.admin.dao.data.CountryDao;
import com.bdzl.admin.service.data.CountryService;
import com.bdzl.pub.entity.data.CountryDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class CountryServiceImpl implements CountryService {
	@Autowired
	private CountryDao countryDao;
	
	@Override
	public CountryDO get(Integer id){
		return countryDao.get(id);
	}
	
	@Override
	public List<CountryDO> list(Map<String, Object> map){
		return countryDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return countryDao.count(map);
	}
	
	@Override
	public int save(CountryDO country){
		return countryDao.save(country);
	}
	
	@Override
	public int update(CountryDO country){
		return countryDao.update(country);
	}
	
	@Override
	public int remove(Integer id){
		return countryDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return countryDao.batchRemove(ids);
	}
	
}
